Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fetch the full Git history to be able to diff it against HEAD #925

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

martin-g
Copy link
Contributor

@martin-g martin-g commented Oct 13, 2023

The Run tests jobs were broken with 1ae4126 The problem is that the project uses fetch-depth: 1 (the default) and thus has no branch history.

Refs:

Signed-off-by: Martin Tzvetanov Grigorov [email protected]

@martin-g martin-g changed the title Fetch the full history of master before diff-ing it against HEAD ci: Fetch the full history of master before diff-ing it against HEAD Oct 13, 2023
The `Run tests` jobs were broken with bioconda@1ae4126
The problem is that the project uses `fetch-depth: 1` (the default) and
thus has no branch history.
Using `fetch-depth: 0` would fetch the whole history for **all**
branches and tags, which would be unnecessary.

Refs:
- actions/checkout#296
- actions/checkout#301

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit e3c24c6)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g martin-g changed the title ci: Fetch the full history of master before diff-ing it against HEAD ci: Fetch the full Git history to be able to diff it against HEAD Oct 13, 2023
@johanneskoester johanneskoester merged commit 88680cf into bioconda:master Oct 23, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants